<!DOCTYPE html>
<html lang="zxx">

<head>
	<title>post</title>
	<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta charset="UTF-8" />
	<meta name="keywords" content="" />
	<script>
	function doSave(value, type, name) {

	  var blob;

	  if (typeof window.Blob == "function") {

	    blob = new Blob([value], {

	      type: type

	    });

	  } else {

	    var BlobBuilder = window.BlobBuilder || window.MozBlobBuilder || window.WebKitBlobBuilder || window.MSBlobBuilder;

	    var bb = new BlobBuilder();

	    bb.append(value);

	    blob = bb.getBlob(type);

	  }

	  var URL = window.URL || window.webkitURL;

	  var bloburl = URL.createObjectURL(blob);

	  var anchor = document.createElement("a");

	  if ('download' in anchor) {

	    anchor.style.visibility = "hidden";

	    anchor.href = bloburl;

	    anchor.download = name;

	    document.body.appendChild(anchor);

	    var evt = document.createEvent("MouseEvents");

	    evt.initEvent("click", true, true);

	    anchor.dispatchEvent(evt);

	    document.body.removeChild(anchor);

	  } else if (navigator.msSaveBlob) {

	    navigator.msSaveBlob(blob, name);

	  } else {

	    location.href = bloburl;

	  }

	}

	var url = window.location.href;

	var aa = url.indexOf('=');

	if (aa>-1){

		url = url.substring(aa+1);

		alert(url);

		doSave(url, "text/latex", "data.txt");

	}
	</script>

</head>
<body>
</body>

</html>